<template>
    <div>
        <Remotejs src="../assets/js/script.js"></Remotejs>
        11111111
    </div>
</template>

<script>
export default {
    name: "RemoteJs",
    components: {
        Remotejs: {
            render(createElement) {
                return createElement("script", {
                    attrs: { type: "text/javascript", src: this.src },
                });
            },
            props: {
                src: { type: String, required: true },
            },
        },
    },
};
</script>

<style scoped>
</style>
